<template>
  <div class="app-container">
    <el-card>
      <el-tabs v-model="activeTab">
        <el-tab-pane label="新件信息" name="newpartsManage">
          <newpartsManage
            v-if="activeTab === 'newpartsManage'"
          />
        </el-tab-pane>
        <el-tab-pane label="返修件信息" name="oldpartsManage">
          <oldpartsManage
            v-if="activeTab === 'oldpartsManage'"
          />
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
import newpartsManage from '@/views/sp_manage/components/newpartsManage'
import oldpartsManage from '@/views/sp_manage/components/oldpartsManage'

export default {
  name: 'Index',
  components: { oldpartsManage, newpartsManage },
  data() {
    return {
      activeTab: 'newpartsManage'
    }
  },
  methods: {}
}
</script>

<style scoped>

</style>
